cd16d97851fb92f8a8d3e29de07127252454d434,openapi/src/com/intellij/psi/util/RedundantCastUtil.java,MyIsRedundantVisitor,processCall,#PsiCallExpression#,260

Before Change


      for (PsiExpression arg : args) {
        if (arg instanceof PsiTypeCastExpression) {
          PsiExpression castOperand = ((PsiTypeCastExpression)arg).getOperand();
          castOperand.accept(this);
        }
        else {
          arg.accept(this);

After Change


      for (PsiExpression arg : args) {
        if (arg instanceof PsiTypeCastExpression) {
          PsiExpression castOperand = ((PsiTypeCastExpression)arg).getOperand();
          if (castOperand != null) {
            castOperand.accept(this);
          }
        }
        else {